<?php
require_once 'init.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
		
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
		<title><?php echo APP;?>后台管理   | 登录</title>
		
		<!--                       CSS                       -->
	  
		<!-- Reset Stylesheet -->
		<link rel="stylesheet" href="resources/css/reset.css" type="text/css" media="screen" />
	  
		<!-- Main Stylesheet -->
		<link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" />
		
		<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
		<link rel="stylesheet" href="resources/css/invalid.css" type="text/css" media="screen" />	
		
		<!-- Colour Schemes
	  
		Default colour scheme is green. Uncomment prefered stylesheet to use it.
		
		<link rel="stylesheet" href="resources/css/blue.css" type="text/css" media="screen" />
		
		<link rel="stylesheet" href="resources/css/red.css" type="text/css" media="screen" />  
	 
		-->
		
		<!-- Internet Explorer Fixes Stylesheet -->
		
		<!--[if lte IE 7]>
			<link rel="stylesheet" href="resources/css/ie.css" type="text/css" media="screen" />
		<![endif]-->
		
		<!--                       Javascripts                       -->
	  
		<!-- jQuery -->
		<script type="text/javascript" src="resources/scripts/jquery-1.7.2.min.js"></script>
		<script type="text/javascript">
		<!--
			$(document).ready(function(){
			  	$("#vcode").click(function(){
				  	$(this).data("ver", $(this).data("ver")+1);
				  	var ver	= $(this).attr("src").substr(0, 14)+$(this).data("ver");	  		  	
			  		$(this).attr("src", ver);		  	
				})
			});
		//-->
		</script>
		<!-- jQuery Configuration -->
		<script type="text/javascript" src="resources/scripts/simpla.jquery.configuration.js"></script>
		
		<!-- Facebox jQuery Plugin -->
		<script type="text/javascript" src="resources/scripts/facebox.js"></script>
		
		<!-- jQuery WYSIWYG Plugin -->
		<script type="text/javascript" src="resources/scripts/jquery.wysiwyg.js"></script>
		
		<!-- Internet Explorer .png-fix -->
		
		<!--[if IE 6]>
			<script type="text/javascript" src="resources/scripts/DD_belatedPNG_0.0.7a.js"></script>
			<script type="text/javascript">
				DD_belatedPNG.fix('.png_bg, img, li');
			</script>
		<![endif]-->
		
	</head>
  
	<body id="login">
		
		<div id="login-wrapper" class="png_bg">
			<div id="login-top">
			
				<h1><?php echo APPLICATION;?>管理后台</h1>
				<!-- Logo (221px width) -->
				<a href="http://www.uimaker.com"><img id="logo" src="resources/images/logo.png" alt="Simpla Admin logo" /></a>
			</div> <!-- End #logn-top -->
			
			<div id="login-content">
				
				<form action="ckUserPwd.php" method="post">
				
					<div class="notification information png_bg" <?php if($_GET['status']!='lose'): ?>style="display: none;" <?php endif;?>>
						<div id="notice">
							登录失败，帐号、密码或验证码错误或被禁用！！！
						</div>
					</div>
					
					<p>
						<label>帐号：</label>
						<input name="userName" class="text-input" type="text" />
					</p>
					<div class="clear"></div>
					<p>
						<label>密码：</label>
						<input name="userPwd" class="text-input" type="password" />
					</p>
					<div class="clear"></div>
					<p style="text-align: left;">
						<label>验证码：</label>						
						<input name="vcode" class="text-input" type="text" style="width: 80px; float: left;margin-left:20px;margin-right:48px;"/>
						<img id="vcode" title="点击刷新" data-ver="1" src="vcode.php?ver=1" style="cursor: pointer;" /> 
					</p>
					<div class="clear"></div>
					<!-- <p id="remember-password">
						<input type="checkbox" />Remember me
					</p> -->
					<div class="clear"></div>
					<p>
						<input class="button" type="submit" value="登录" />
					</p>
					
				</form>
			</div> <!-- End #login-content -->
			
		</div> <!-- End #login-wrapper -->
		
  </body>
  </html>
